﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FingerprintService
{
    /// <summary>
    /// 结果对象
    /// </summary>
    public class ResultObject
    {
        private string code;
        private string message;
        private object data;

        public ResultObject()
            : this("200", "成功", null)
        {

        }

        public ResultObject(string code, string message)
            : this(code, message, null)
        {
        }

        public ResultObject(string code, string message, object data)
        {
            this.code = code;
            this.message = message;
            this.data = data;
        }

        public string Code
        {
            get { return code; }
            set { code = value; }
        }

        public string Message
        {
            get { return message; }
            set { message = value; }
        }

        public object Data
        {
            get { return data; }
            set { data = value; }
        }


    }
}